package com.wzw.expression.record.expression;

import com.wzw.expression.expression.operation.Operation;
import com.wzw.expression.expression.invocation.OperationInvocationMetadata;
import com.wzw.expression.record.interceptors.IRecordInterceptor;

import java.lang.reflect.Method;

/**
 * @author Wangzhiwen
 */
public class IRecordInvocationMetadata extends OperationInvocationMetadata {

    private IRecordInterceptor interceptor;

    public IRecordInvocationMetadata(Operation operation, Method method, Class<?> targetClass) {
        super(operation, method, targetClass);
    }

    public IRecordInterceptor getInterceptor() {
        return interceptor;
    }

    public void setInterceptor(IRecordInterceptor interceptor) {
        this.interceptor = interceptor;
    }
}
